package com.hzf.booklibrary.api;



import com.hzf.booklibrary.bean.clazz.Clazz;
import com.hzf.booklibrary.bean.token.TokenBean;

import retrofit2.Call;
import retrofit2.http.POST;
import retrofit2.http.Query;

public interface TokenApiService {

    @POST("/oauth2/access_systoken")
    Call<TokenBean> getToken(@Query("client_id")String client_id,
                             @Query("client_secret")String client_secret);

    @POST("/Public/deviceClassInfo")
    Call<Clazz> getClazzInfo(@Query("token")String token,
                             @Query("deviceId")String deviceId);
}
